package GUI;
/**
 * 
 * Parent user type class
 */

public class ParentClass {
	
	public String Pid;
	public String FirstName;
	public String LastName;
	public boolean Blocked;
	
	/**
	 * 
	 * @param id = parent ID
	 * @param fname = Parent first name
	 * @param lname = parent last name
	 * @param b = Is the parent blocked by the managment
	 */
	public ParentClass(String id,String fname,String lname,String b)
	{
		this.Pid=id;
		this.FirstName=fname;
		this.LastName=lname;
		if(b.equalsIgnoreCase("true"))this.Blocked=true;
		else this.Blocked=false;
		
	}
	/**
	 * Empty constructor
	 */
	public ParentClass()
	{
		this.Pid=null;
		this.FirstName=null;
		this.LastName=null;
		this.Blocked=true;
		
		
	}

}
